#ifndef __SHOPPINGCAR_H_
#define __SHOPPINGCAR_H_

#include <string>
#include <ctime>
#include "LinkStack.h"
#include "LinkQueue.h"
struct Goods
{
    Goods(){}
    Goods(const std::string & Name,double Price):Name(Name),Price(Price){}
    std::string Name;//
    double Price;
    time_t addTime;
    time_t delTime;

};



class ShoppingCar
{
public:
    ShoppingCar(){}
    ~ShoppingCar();
    void AddGoods();
    void DelGoods();
    void Undel();
    void show();
    void Binshow();
    void delBin();
private:
    LinkStack recycle;
    LinkQueue shopping;//
    //const int size;//
};

#endif